import servicer  from "../index";



//对应接口参数
export  interface loginType {
    name:string,
   password:any,
   
}

export interface loginRes{
    code:string| number,
    routers:any,
    token:string
}
 export function loginData(data={}){


    return servicer.post('/login',data)
}